package bsh;

import org.objectweb.asm.MethodVisitor;

import bsh.exception.CompilationFailedException;

/**
 * Inicializador estatico a ser inserido no bloco de inicializacao estatico
 * 
 * @author takeshi
 */
public interface BytecodeGenerator {
    /**
     * @param visitor {@link MethodVisitor}
     * @param unit {@link CompilationUnit}
     * @param state TODO
     * @throws CompilationFailedException e
     */
    void generateBytecode(MethodVisitor visitor, CompilationUnit unit, CompilationState state) throws CompilationFailedException;
}